export function verify(a,b,modifiers){
	let patt = new RegExp("(,|^)(" + b.join("|") + ")(,|$)");
	return (a.join(',').match(patt) || ["","",""])[2]
}

export const isPhone = function(str) {
	var myreg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/
	if (!myreg.test(str)) {
		return false
	} else {
		return true
	}
}